import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import axios from 'axios'
import request from './utills/request.js'
import storage from './utills/storage.js'
let app = createApp(App)
// 全局挂载封装后的axios
app.config.globalProperties.$request = request
// app.config.globalProperties.$request = axios
app.config.globalProperties.$storage = storage
app.use(ElementPlus)
app.use(store)
app.use(router)
app.mount('#app')
